<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/view/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>在线考试系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${contextPath}/css/user.css"
	type="text/css" media="all" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript">
<!--
	function doAction(paperId) {
		document.getElementById("pid").value = paperId;
		return true;
	}
//-->
</script>
</head>
<body>

	<%@include file="/view/top.jsp"%>

	<form:form name="paperSelectForm" method="post"
		action="${contextPath}/paperSelect.action"
		commandName="PaperSelectCommand">
		<form:hidden path="pid" />
		<div>
			<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td height="30">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="15" height="30"><img src="images/tab_03.gif"
									width="15" height="30" /></td>
								<td background="images/tab_05.gif" height="70"><img
									src="images/311.gif" width="16" height="16" /><span
									class="STYLE4"><spring:message
											code="ui.paper.list.title" /></span></td>
								<td width="14"><img src="images/tab_07.gif" width="14"
									height="30" /></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="9" background="images/tab_12.gif">&nbsp;</td>
								<td>
									<table width="100%" border="0" cellpadding="4" cellspacing="1"
										bgcolor="#E1E1E1">
										<tr bgcolor="#ffffff">
											<td colspan="2"
												style="font-weight: bold; color: #5555AA; font-size: 20px;">尊敬的考生,您好!<br />
												<br />欢迎参加由合肥市党政领导干部考试与测评中心组织的肥东经济开发区公开竞选内设机构和直属事业单位副职干部人机对话测试。
											</td>
										</tr>
										<tr bgcolor="#ffffff">
											<td colspan="2" style="font-size: 15px; color: #CC3300">您的信息如下：
											
										</tr>
										<tr bgcolor="#ffffff">
											<td width="21%" align="right" class="STYLE1">姓名</td>
											<td align="left" width="79%" class="STYLE1"
												style="color: #55AA99">${sessionScope.LOGIN_USER_INFO.name
												}</td>
										</tr>
										<tr bgcolor="#ffffff">
											<td align="right" class="STYLE1">编号</td>
											<td align="left" width="79%" class="STYLE1"
												style="color: #55AA99">${sessionScope.LOGIN_USER_INFO.idCardNo
												}</td>
										</tr>
										<tr bgcolor="#ffffff">
											<td colspan="2" style="font-size: 15px; color: #CC3300">请您核对无误后开始考试。祝您考试愉快!</td>
										</tr>
									</table>
								</td>
								<td width="9" background="images/tab_16.gif">&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td height="29">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="15" height="29"><img src="images/tab_20.gif"
									width="15" height="29" /></td>
								<td background="images/tab_21.gif">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="40%">&nbsp;</td>
										</tr>
									</table>
								</td>
								<td width="14"><img src="images/tab_22.gif" width="14"
									height="29" /></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
		<div>
			<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td height="30">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="15" height="30"><img src="images/tab_03.gif"
									width="15" height="30" /></td>
								<td background="images/tab_05.gif"><span class="STYLE4">考试详细</span></td>
								<td width="14"><img src="images/tab_07.gif" width="14"
									height="30" /></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="9" background="images/tab_12.gif">&nbsp;</td>
								<td align="center"><c:if
										test="${fn:length(PaperSelectCommand.result) > 0 }">
										<table width="100%" border="0" cellpadding="4" cellspacing="1"
											bgcolor="#E1E1E1">
											<c:forEach items="${PaperSelectCommand.result}" var="paper"
												varStatus="status">
												<tr bgcolor="#f7f7f7">
													<td width="30%" rowspan="2" align="center" class="STYLE1">${paper.name}</td>
													<td width="30%" align="center" class="STYLE1"><spring:message
															code="ui.paper.list.column.duration" /></td>
													<td width="30%" align="center" class="STYLE1"><spring:message
															code="ui.paper.list.column.scores" /></td>
													<td width="10%" rowspan="2" align="center"><input
														type="submit"
														value="<spring:message code="ui.paper.list.button.ok" />"
														name="enter" onclick="return doAction('${paper.id}')"
														style="width: 50px;" /></td>
												</tr>
												<tr bgcolor="#f7f7f7">
													<td width="30%" align="center" class="STYLE1">${paper.duration}<spring:message
															code="ui.common.duration.unit" /></td>
													<td width="30%" align="center" class="STYLE1">${paper.scores}<spring:message
															code="ui.common.scores.unit" /></td>
												</tr>
											</c:forEach>
											<tr bgcolor="#ffffff">
												<td height="45" colspan="5">
													<table border="0" cellpadding="0" cellspacing="0"
														align="center" style="text-align: left">
														<tr>
															<td height="24" class="STYLE1"><font color="#CC3300">特别提示：
															</font></td>
														</tr>
														<tr>
															<td height="24" class="STYLE1">1. 请在规定时间内完成考试并提交答案。</td>
														</tr>
														<tr>
															<td height="24" class="STYLE1">2.请在考试结束后于考试结果画面确认您的考试成绩。</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>

									</c:if> <c:if test="${fn:length(PaperSelectCommand.result) <= 0 }">
										<font color="#ff0000"><spring:message
												code="ui.paper.list.novalue" /></font>
									</c:if></td>
								<td width="9" background="images/tab_16.gif">&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td height="29">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="15" height="29"><img src="images/tab_20.gif"
									width="15" height="29" /></td>
								<td background="images/tab_21.gif">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="40%">&nbsp;</td>
										</tr>
									</table>
								</td>
								<td width="14"><img src="images/tab_22.gif" width="14"
									height="29" /></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
	</form:form>
</body>
</html>